package com.yufei.infoExtractor.core;

import java.util.HashMap;



import java.util.Map;

import com.yufei.infoExtractor.pfw.entity.Relatedlink;

public interface LinkAction {

	//静态集合变量：保存用于处理各种类型连接的实例对象
	public final static  Integer  LINKTYPE_VIDEO=0;
	public static final Integer LINKTYPE_MEDIAATION = 7;
    public static Integer LINKTYPE_BLOG=1;
    public static Integer LINKTYPE_UNKNOW=2;
    //use such links to find more target links
    public static Integer LINKTYPE_LINKS=3; 
    public static Integer LINKTYPE_ENTITY=4;
    public static Integer LINKTYPE_PAGINATION=5;
    public static Integer LINKTYPE_FILTER=6;
    

    

    
    
    public static Integer UNPARSE=0;
    public static Integer HASEPARSED=1;

	public void execute(Relatedlink link,HActionContext context) throws Exception;
}
